home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / pov / xwndwsmk.fix < prev   
Encoding:
Text File  |  1993-11-05  |  1.4 KB  |  48 lines

  1. # Makefile for Persistence of Vision Raytracer 
  2. # This file is released to the public domain.
  3. #
  4. #
  5. # MAKE Macros and Such...
  6. #
  7.  
  8. #***************************************************************
  9. #*
  10. #*                      UNIX Makefile
  11. #*
  12. #***************************************************************
  13.  
  14. # The exact options may depend on your compiler.  Feel free to modify
  15. # these as required.
  16.  
  17. # Added for colorx addition.  You _do_ have $X11 defined by your .cshrc,
  18. # don't you?
  19. X11 = /usr
  20. CFLAGS=        -c -O 
  21. LFLAGS =    -O  $(X11)/lib/libXt.a $(X11)/lib/libXext.a -lX11 \
  22.                 -o povray
  23. CC =        cc
  24.  
  25. OBJ    = o
  26. MACHINE_OBJ    = xwindows.$(OBJ)
  27.  
  28. # Make's implicit rules for making a .o file from a .c file...
  29. #
  30. .c.o :
  31.     $(CC) $(CFLAGS) $*.c
  32.  
  33. OBJS        = bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ) camera.$(OBJ) \
  34.           colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ) dump.$(OBJ) \
  35.           express.$(OBJ) gif.$(OBJ) gifdecod.$(OBJ) hfield.$(OBJ) \
  36.           iff.$(OBJ) image.$(OBJ) lighting.$(OBJ) matrices.$(OBJ) normal.$(OBJ) \
  37.           objects.$(OBJ) parse.$(OBJ) pigment.$(OBJ) planes.$(OBJ) point.$(OBJ) \
  38.           poly.$(OBJ) povray.$(OBJ) quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) \
  39.           render.$(OBJ) spheres.$(OBJ) targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ) \
  40.           triangle.$(OBJ) txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  41.  
  42.  
  43. povray:    $(OBJS)
  44.     cc $(OBJS) -lm $(LFLAGS)
  45.  
  46. xwindows.$(OBJ): xwindows.c xpov.icn frame.h povproto.h config.h
  47.     $(CC) $(CFLAGS) -I$(X11)/include xwindows.c
  48.